package com.qiao.dfw.loggic.battle;

import com.qiao.dfw.loggic.BattleTask;
import com.qiao.dfw.loggic.ECode;
import com.qiao.dfw.proto.Battle;

/**
 * @author 乔占江 qq:59663479
 * @version 1.0
 * @date 2024/1/19 18:34
 * @description
 */
public class BattleShopTask extends BattleTask<Battle.BattleShopRequest> {
    @Override
    public ECode getCode() {
        return ECode.BattleShop;
    }

    @Override
    public void execute1() {
        player.room.battleShop(player, request.getCid());
    }
}
